package edu.friday.service;

import edu.friday.model.SysMenu;
import edu.friday.model.vo.SysMenuVO;

import java.util.List;
import java.util.Set;

public interface SysMenuService {
    Set<String> selectMenuPermsByUserId(Long userId);

    List<SysMenu> selectMenuList(SysMenuVO sysMenuVO,Long userId);

    String checkMenuNameUnique(SysMenu sysMenu);

    int insertMenu(SysMenu sysMenu);

    int updateMenu(SysMenu sysMenu);

    boolean hasChildByMenuId(Long menuId);

    boolean checkMenuExistRole(Long menuId);

    int deleteMenuById(Long menuId);
}
